export default {

  // 用户认证
  passport: {
    login: '/auth/login'
    // logout: '/auth/logout'
  },

  // 超管模块
  admin: {
    user: {
      detail: '/user/detail',
      renew: '/user/update'
    }
  },

  // 商家模块
  store: {
    list: 'store/index',
    superLogin: 'store/superLogin',
    recycle: 'store/recycle',
    add: 'store/add',
    recovery: 'store/recovery',
    delete: 'store/delete',
    move: 'store/move',

    // // 商家功能模块管理
    // module: {
    //   default: 'store.module/default',
    //   detail: 'store.module/detail',
    //   edit: 'store.module/edit',
    // },

    // 商家后台api权限
    api: {
      list: 'api/index',
      add: 'api/add',
      edit: 'api/edit',
      delete: 'api/delete'
    },

    // 商家后台菜单
    menu: {
      list: 'menu/index',
      info: 'menu/info',
      add: 'menu/add',
      edit: 'menu/edit',
      delete: 'menu/delete',
      setApis: 'menu/setApis',

      // 商家后台菜单操作权限
      action: {
        list: 'menu_action/index',
        add: 'menu_action/add',
        edit: 'menu_action/edit',
        delete: 'menu_action/delete'
      }
    },
  },

  // 系统管理
  setting: {
    cache: {
      clear: 'setting/clear_cache'
    },
    science: 'setting/environment',
    queue: {
      test: 'setting/queue/test'
    },
    timer: {
      test: 'setting/timer/test'
    }
  },

}
